{include common/header}
<script src="__PUBLIC__/js/jquery.overlay.min.js"></script> 

{include common/left}
<div id="content">
  <ul class="breadcrumb">
    <li><a href="javascript:;"><i class="icon-home"></i>关闭网站</a> </li>
   </ul>
  <div class="container-fluid">
    <div class="row-fluid">
      <div class="span12">
        <div class="widget-box">
          <div class="widget-title"> 
            <h5><span class="icon"> <i class="icon-align-justify"></i> </span>关闭网站</h5>
          </div>
          <div class="widget-content nopadding">
         <div class="alert alert-error">
         当打开关闭网站功能后，到达关闭时间将关闭网站
         </div>

             <form action="{url('index/system')}" method="post" enctype="multipart/form-data" class="form-horizontal">            
		      <div class="control-group">
		          <label class="control-label">关闭网站</label>
		          <div class="controls">
		            <select name="close" class="span3">                                    
                  <option value="1" {if $close==1}selected{/if}>是</option>                  
                  <option value="0" {if $close==0}selected{/if}>否</option>
                  </select> 
		            
		          </div>
		        </div>  
             <div class="control-group">
		          <label class="control-label">关闭时间</label>
		          <div class="controls">
		            <input name="closetime" type="text" id="closetime" value="{date('Y-m-d H:i',$closetime)}" />如2014-05-01 12:00
		          </div>
		        </div>   
			<div class="control-group">
		          <label class="control-label">关闭说明</label>
		          <div class="controls">
		            <input name="closetext" type="text" id="closetext" value="{$closetext}" />
		          </div>
		        </div> 				
	            <div class="form-actions">
	            <!--<input type="hidden" name="type" value="{$type}" />-->
	              <input type="submit" id="modal-trigger" class="btn btn-primary" value="确认">
	            </div>
            </form>
          </div>
        </div>
        
      </div>
    </div>
  </div>
</div>
{include common/footer}